package com.tencent.iov.cowin.befsale.clue.domain.cus.po;

import com.tencent.iov.cowin.befsale.clue.domain.clue.po.ClueIntention;
import com.software.boot.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Describe: 线索信息表_实体层
 * @author: whp
 * @created: 2021-12-21 16:16:06
 * @version: 1.0
 */
@Data
@ApiModel(description = "线索信息表_实体模型")
public class ClueDetail extends BaseEntity {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", example = "stringValue")
    private Long id;
    /**
     * request_id 请求id
     */
    @ApiModelProperty(value = "request_id 请求id", example = "stringValue")
    private String requestId;
    /**
     * 线索源id
     */
    @ApiModelProperty(value = "线索源id", example = "stringValue")
    private Long clueInitialId;
    /**
     * 售前客户表主键
     */
    @ApiModelProperty(value = "售前客户表主键", example = "stringValue")
    private Long cusId;
    /**
     * 意向等级_意向字典
     */
    @ApiModelProperty(value = "意向等级_意向字典", example = "stringValue")
    private String intentionGrade;
    /**
     * 意向品牌id ，逗号隔开 list id
     */
    @ApiModelProperty(value = "意向品牌id ，逗号隔开 list id", example = "stringValue")
    private String brandIds;
    /**
     * 车系 ，逗号隔开 list id
     */
    @ApiModelProperty(value = "车系 ，逗号隔开 list id", example = "stringValue")
    private String seriesIds;
    /**
     * 意向车型id ，逗号隔开 list id
     */
    @ApiModelProperty(value = "意向车型id ，逗号隔开 list id", example = "stringValue")
    private String modelIds;
    /**
     * 意向车型id ，逗号隔开 list id
     */
    @ApiModelProperty(value = "意向车型id ，逗号隔开 list id", example = "stringValue")
    private String modelYearIds;
    /**
     * 意向配置id ，逗号隔开 list id
     */
    @ApiModelProperty(value = "意向配置id ，逗号隔开 list id", example = "stringValue")
    private String configIds;
    /**
     * 大字段类型表 bef_text_field id 车意向json 上面的品牌到配置集合
     */
    @ApiModelProperty(value = "大字段类型表 bef_text_field id 车意向json 上面的品牌到配置集合", example = "stringValue")
    private Long textFieldId;
    /**
     * 经销商下发状态（0待下发 1已下发，2已分配顾问）
     */
    @ApiModelProperty(value = "经销商下发状态（0待下发 1已下发，2已分配顾问）", example = "1")
    private Integer dealerFollowStatus;
    /**
     * 下发经销商时间
     */
    @ApiModelProperty(value = "下发经销商时间", example = "2020-03-28T13:46:56.711Z")
    private Date planTime;
    /**
     * 分配顾问时间
     */
    @ApiModelProperty(value = "分配顾问时间", example = "2020-03-28T13:46:56.711Z")
    private Date distributeTime;
    /**
     * 线索状态（ 0跟进中 10已到店，15已下订，20已交车，25已实销，30战败审核 35已战败 跟进内容关联关系
     */
    @ApiModelProperty(value = "线索状态（ 0跟进中 10已到店，15已下订，20已交车，25已实销，30战败审核 35已战败 跟进内容关联关系", example = "1")
    private Integer status;
    /**
     * 删除标志（0：代表存在、-1：代表删除）
     */
    @ApiModelProperty(value = "删除标志（0：代表存在、-1：代表删除）", example = "1")
    private Integer deleted;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id", example = "stringValue")
    private String tenantId;
    /**
     * 大区id
     */
    @ApiModelProperty(value = "大区id", example = "stringValue")
    private String bigSectorId;
    /**
     * 经销商id
     */
    @ApiModelProperty(value = "经销商id", example = "stringValue")
    private String dealerId;
    /**
     * 企微id
     */
    @ApiModelProperty(value = "企微id", example = "stringValue")
    private String corpId;

    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称", example = "stringValue")
    private String createdName;


    /**
     * 修改人名称
     */
    @ApiModelProperty(value = "修改人名称", example = "stringValue")
    private String updatedName;


    /**
     * 经销商客户信息
     */
    @ApiModelProperty (value = "经销商客户信息", example = "DealerCustomer")
    private DealerCustomer dealerCustomer;

    /**
     * 购车意向信息
     */
    @ApiModelProperty (value = "购车意向信息", example = "ClueIntention")
    private ClueIntention clueIntention;

    /**
     * 本次跟进信息
     */
    @ApiModelProperty (value = "本次跟进信息", example = "DealerCustomerFollowRecord")
    private DealerCustomerFollowRecord followRecord;

    /**
     * 计划跟进信息
     */
    @ApiModelProperty (value = "计划跟进信息", example = "DealerCustomerFollowPlan")
    private DealerCustomerFollowPlan followPlan;

    /**
     * 跟进历史信息
     */
    @ApiModelProperty (value = "跟进历史信息", example = "DealerCustomerFollowPlan")
    private List<DealerCustomerFollowRecord> followRecordList;
}


